package lu.med.praxiswahl.wahlumed.client.wclient;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class PatientenSuchmaskeLaborActionListener implements ActionListener
{
    private PatientenSuchmaske owner;

    public PatientenSuchmaskeLaborActionListener(Main dataManager,
	    PatientenSuchmaske owner)
    {
	this.owner = owner;
    }

    @Override
    public void actionPerformed(ActionEvent e)
    {
	if (e.getActionCommand().equals("Abfragen"))
	{
	    owner.abfragenLabor();
	}
	if (e.getActionCommand().equals("Markieren"))
	{
	    owner.markierenLabor();
	}
    }

}